
using UnityEngine;
using UnityEngine.Rendering;


[CreateAssetMenu(menuName = "Rendering/Custom Render Pipeline")]
public class CustomRenderPipelineAsset : RenderPipelineAsset
{
    [SerializeField] 
    bool 
		useDynamicBatching = true, 
        useGPUInstancing = true, 
        useSRPBatcher = true, 
        useLightsPerObject = true;
    [SerializeField]
    ShadowSettings shadows = default;
    [SerializeField]
    PostFXSettings postFXSettings = default;
    protected override RenderPipeline CreatePipeline()
    {
        return new CustomRenderPipeline(
			useDynamicBatching, useGPUInstancing, useSRPBatcher, 
			useLightsPerObject, shadows, postFXSettings
		);
    }
}